{php}$count=1;{/php}{maccms:foreach name="obj.vod_play_list" key="play"}
{if$maccms.aid!=15&&$count==1}						    
<div class="playbtn o_play">
	<a class="btn btn_primary" href="{:mac_url_vod_play($obj,['sid'=>$vo.sid,'nid'=>1])}"><i class="iconfont">&#xe659;</i>&nbsp;立即播放</a>
</div>
{/if}
{php}$count++;{/php}{/maccms:foreach}
{php}$count=1;{/php}{maccms:foreach name="obj.vod_down_list"}
{if$maccms.aid!=16&&$count==1}						    
<div class="playbtn o_down"{if condition="$obj.vod_play_list gt 0"} style="margin-right: 0;"{/if}>
	<a class="btn btn_primary" href="{:mac_url_vod_down($obj,['sid'=>$vo.sid,'nid'=>1])}"><i class="iconfont">&#xe63c;</i>&nbsp;下载观看</a>
</div>
{/if}
{php}$count++;{/php}{/maccms:foreach}

{if condition="($obj.vod_play_list eq 0) OR ($obj.vod_down_list eq 0)"}
    {if condition="$conch['theme']['weixin']['btn'] eq 1"}
	<div class="playbtn o_bg{if condition="$obj.vod_down_list gt 0"} btn-w{/if}">
		<a class="btn_wxgzh" href="javascript:;"><i class="iconfont">&#xe63e;</i>&nbsp;微信观看</a>
	</div>
	{else}
	<div class="playbtn o_like" style="margin-right: 0;">
        {if condition="$GLOBALS['config']['user']['status'] eq 1"}
	    <a class="btn btn_like digg_link" data-id="{$obj.vod_id}" data-mid="{$maccms.mid}" data-type="up" href="javascript:;"><i class="iconfont">&#xe655;</i>&nbsp;喜欢&nbsp;<em class="digg_num">{$obj.vod_up}</em></a>
	    {/if}
    </div>
    {/if}
{/if}